package com.tamtamy.jtta.data.xml;

import org.w3c.dom.Document;

import com.tamtamy.jtta.data.UserTag;
import com.tamtamy.jtta.utility.XMLUtility;

public class XMLUserTag extends UserTag {
	
	public XMLUserTag(Document xmlDocument){
		this.network = XMLUtility.getString(xmlDocument, "network");
		this.userID = XMLUtility.getString(xmlDocument, "userId");
		this.userTagType = XMLUtility.getString(xmlDocument, "type");
		this.tags = XMLUtility.getStringList(xmlDocument, "list", "string");
	}

}